package structures;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class InfoPacket implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String page;
	private boolean containsString;
	private String stringToLookFor;
	private List<String> urlList=new ArrayList<String>();
	private TaskType type;
	

	public InfoPacket()
	{
	}
	
	public InfoPacket(String page)
	{
		this.page = page;
		this.stringToLookFor = null;		
	}
	
	public InfoPacket(String page, String toLookFor)
	{
		this.page = page;
		this.stringToLookFor = toLookFor;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public boolean isContainsString() {
		return containsString;
	}

	public void setContainsString(boolean containsString) {
		this.containsString = containsString;
	}

	public String getStringToLookFor() {
		return stringToLookFor;
	}

	public void setStringToLookFor(String stringToLookFor) {
		this.stringToLookFor = stringToLookFor;
	}
	
	public List<String> getUrlList() {
		return urlList;
	}
	public void setUrlList(List<String> urlList) {
		this.urlList = urlList;
	}
	
	public void setType(TaskType type) {
		this.type = type;
	}

	public TaskType getType() {
		return type;
	}
	
	
	
}
